package com.aduerr.v1shouyin.entity;

import com.aduerr.v1shouyin.mvp.base.IEntity;

import java.io.Serializable;
import java.util.List;

/**
 * 类名: OrderGetPosOrderLEntity
 * 此类用途: ---
 *
 * @Date: 2017-09-12 09:19
 * @FileName: com.aduer.shouyin.entity.OrderGetPosOrderLEntity.java
 */
public class OrderGetPosOrderLEntity implements Serializable, IEntity {

    /**
     * Data : [{"Date":"2017-09-12","List":[{"createtime":"2017-09-12 08:54:49",
     * "date":"2017-09-12","orderid":"86008032893055438199","ordermoney":"0.01",
     * "outorderid":"15008033051228798628","paystate":"已付款","paytime":"2017-09-12
     * 08:55:10","paytype":"其它","realpay":"0.01","refund":"0.00","refundtime":"",
     * "selleryouhui":"0.00","shopname":"杭州有云科技门店","siteusername":"小马哥演示专用",
     * "useraccount":"匿名***","youhui":"0.00"}]}]
     * ErrMsg : 成功
     * Success : 1
     * PageCount : 1
     * PageIndex : 1
     */

    private String ErrMsg;
    private int Success;
    private int PageCount;
    private int PageIndex;
    private List<DataBean> Data;

    public String getErrMsg() {
        return ErrMsg;
    }

    public void setErrMsg(String ErrMsg) {
        this.ErrMsg = ErrMsg;
    }

    public int getSuccess() {
        return Success;
    }

    public void setSuccess(int Success) {
        this.Success = Success;
    }

    public int getPageCount() {
        return PageCount;
    }

    public void setPageCount(int PageCount) {
        this.PageCount = PageCount;
    }

    public int getPageIndex() {
        return PageIndex;
    }

    public void setPageIndex(int PageIndex) {
        this.PageIndex = PageIndex;
    }

    public List<DataBean> getData() {
        return Data;
    }

    public void setData(List<DataBean> Data) {
        this.Data = Data;
    }

    @Override
    public String toString() {
        return "OrderGetPosOrderLEntity{" +
                "ErrMsg='" + ErrMsg + '\'' +
                ", Success=" + Success +
                ", PageCount=" + PageCount +
                ", PageIndex=" + PageIndex +
                ", Data=" + Data +
                '}';
    }

    public static class DataBean implements Serializable {
        /**
         * Date : 2017-09-12
         * List : [{"createtime":"2017-09-12 08:54:49","date":"2017-09-12",
         * "orderid":"86008032893055438199","ordermoney":"0.01",
         * "outorderid":"15008033051228798628","paystate":"已付款","paytime":"2017-09-12
         * 08:55:10","paytype":"其它","realpay":"0.01","refund":"0.00","refundtime":"",
         * "selleryouhui":"0.00","shopname":"杭州有云科技门店","siteusername":"小马哥演示专用",
         * "useraccount":"匿名***","youhui":"0.00"}]
         */

        private String Date;
        private java.util.List<ListBean> List;

        public String getDate() {
            return Date;
        }

        public void setDate(String Date) {
            this.Date = Date;
        }

        public List<ListBean> getList() {
            return List;
        }

        public void setList(List<ListBean> List) {
            this.List = List;
        }

        @Override
        public String toString() {
            return "DataBean{" +
                    "Date='" + Date + '\'' +
                    ", List=" + List +
                    '}';
        }

        public static class ListBean implements Serializable {
            /**
             * createtime : 2017-09-12 08:54:49
             * date : 2017-09-12
             * orderid : 86008032893055438199
             * ordermoney : 0.01
             * outorderid : 15008033051228798628
             * paystate : 已付款
             * paytime : 2017-09-12 08:55:10
             * paytype : 其它
             * realpay : 0.01
             * refund : 0.00
             * refundtime :
             * selleryouhui : 0.00
             * shopname : 杭州有云科技门店
             * siteusername : 小马哥演示专用
             * useraccount : 匿名***
             * youhui : 0.00
             */

            private String createtime;
            private String date;
            private String orderid;
            private String ordermoney;
            private String outorderid;
            private String paystate;
            private String paytime;
            private String paytype;
            private String realpay;
            private String refund;
            private String refundtime;
            private String selleryouhui;
            private String shopname;
            private String siteusername;
            private String useraccount;
            private String youhui;
            private String refundreason;
            private int HeadId;
            private String ordernote;
            private String refundusername;
            private boolean IsPosOrder;
            private boolean IsExistRefunding;
            private String DockingRefundOrderId;
            private List<OrderItemRefund> OrderItemRefundList;

            public String getRefundusername() {
                return refundusername;
            }

            public void setRefundusername(String refundusername) {
                this.refundusername = refundusername;
            }

            public String getOrdernote() {
                return ordernote;
            }

            public void setOrdernote(String ordernote) {
                this.ordernote = ordernote;
            }

            public int getHeadId() {
                return HeadId;
            }

            public void setHeadId(int headId) {
                HeadId = headId;
            }

            public String getCreatetime() {
                return createtime;
            }

            public void setCreatetime(String createtime) {
                this.createtime = createtime;
            }

            public String getDate() {
                return date;
            }

            public void setDate(String date) {
                this.date = date;
            }

            public String getOrderid() {
                return orderid;
            }

            public void setOrderid(String orderid) {
                this.orderid = orderid;
            }

            public String getOrdermoney() {
                return ordermoney;
            }

            public void setOrdermoney(String ordermoney) {
                this.ordermoney = ordermoney;
            }

            public String getOutorderid() {
                return outorderid;
            }

            public void setOutorderid(String outorderid) {
                this.outorderid = outorderid;
            }

            public String getPaystate() {
                return paystate;
            }

            public void setPaystate(String paystate) {
                this.paystate = paystate;
            }

            public String getPaytime() {
                return paytime;
            }

            public void setPaytime(String paytime) {
                this.paytime = paytime;
            }

            public String getPaytype() {
                return paytype;
            }

            public String getDigitalPayType(){
                return "数币".equals(paytype)?"数字人民币":paytype;
            }

            public void setPaytype(String paytype) {
                this.paytype = paytype;
            }

            public String getRealpay() {
                return realpay;
            }

            public void setRealpay(String realpay) {
                this.realpay = realpay;
            }

            public String getRefund() {
                return refund;
            }

            public void setRefund(String refund) {
                this.refund = refund;
            }

            public String getRefundtime() {
                return refundtime;
            }

            public void setRefundtime(String refundtime) {
                this.refundtime = refundtime;
            }

            public String getSelleryouhui() {
                return selleryouhui;
            }

            public void setSelleryouhui(String selleryouhui) {
                this.selleryouhui = selleryouhui;
            }

            public String getShopname() {
                return shopname;
            }

            public void setShopname(String shopname) {
                this.shopname = shopname;
            }

            public String getSiteusername() {
                return siteusername;
            }

            public void setSiteusername(String siteusername) {
                this.siteusername = siteusername;
            }

            public String getUseraccount() {
                return useraccount;
            }

            public void setUseraccount(String useraccount) {
                this.useraccount = useraccount;
            }

            public String getYouhui() {
                return youhui;
            }

            public void setYouhui(String youhui) {
                this.youhui = youhui;
            }

            public String getRefundreason() {
                return refundreason;
            }

            public void setRefundreason(String refundreason) {
                this.refundreason = refundreason;
            }

            public boolean isPosOrder() {
                return IsPosOrder;
            }

            public void setPosOrder(boolean posOrder) {
                IsPosOrder = posOrder;
            }

            public boolean isExistRefunding() {
                return IsExistRefunding;
            }

            public void setExistRefunding(boolean existRefunding) {
                IsExistRefunding = existRefunding;
            }

            public String getDockingRefundOrderId() {
                return DockingRefundOrderId;
            }

            public void setDockingRefundOrderId(String dockingRefundOrderId) {
                DockingRefundOrderId = dockingRefundOrderId;
            }

            public java.util.List<OrderItemRefund> getOrderItemRefundList() {
                return OrderItemRefundList;
            }

            public void setOrderItemRefundList(java.util.List<OrderItemRefund> orderItemRefundList) {
                OrderItemRefundList = orderItemRefundList;
            }

            public static class OrderItemRefund implements Serializable{

                /**
                 * OrderId : 39016822441975685520
                 * RefundAmount : 0.01
                 * RefundBz : 收银一组组负责人(鹿鸣收银员)成功退款一笔订单(订单交易额【0.03】,退款金额【0.01】)
                 * ，联系电话15212362790
                 * RefundEndTime : 2021-03-18 16:39:55
                 * RefundOrderID : 91016823093612035794
                 * RefundReason :
                 * RefundStatus : 退款成功
                 * RefundTime : 2021-03-18 16:38:30
                 * RefundUserID : 212064
                 * RefundUserName : 财务专员
                 */

                private String OrderId;
                private double RefundAmount;
                private String RefundBz;
                private String RefundEndTime;
                private String RefundOrderID;
                private String RefundReason;
                private String RefundStatus;
                private String RefundTime;
                private int RefundUserID;
                private String RefundUserName;

                public String getOrderId() {
                    return OrderId;
                }

                public void setOrderId(String OrderId) {
                    this.OrderId = OrderId;
                }

                public double getRefundAmount() {
                    return RefundAmount;
                }

                public void setRefundAmount(double RefundAmount) {
                    this.RefundAmount = RefundAmount;
                }

                public String getRefundBz() {
                    return RefundBz;
                }

                public void setRefundBz(String RefundBz) {
                    this.RefundBz = RefundBz;
                }

                public String getRefundEndTime() {
                    return RefundEndTime;
                }

                public void setRefundEndTime(String RefundEndTime) {
                    this.RefundEndTime = RefundEndTime;
                }

                public String getRefundOrderID() {
                    return RefundOrderID;
                }

                public void setRefundOrderID(String RefundOrderID) {
                    this.RefundOrderID = RefundOrderID;
                }

                public String getRefundReason() {
                    return RefundReason;
                }

                public void setRefundReason(String RefundReason) {
                    this.RefundReason = RefundReason;
                }

                public String getRefundStatus() {
                    return RefundStatus;
                }

                public void setRefundStatus(String RefundStatus) {
                    this.RefundStatus = RefundStatus;
                }

                public String getRefundTime() {
                    return RefundTime;
                }

                public void setRefundTime(String RefundTime) {
                    this.RefundTime = RefundTime;
                }

                public int getRefundUserID() {
                    return RefundUserID;
                }

                public void setRefundUserID(int RefundUserID) {
                    this.RefundUserID = RefundUserID;
                }

                public String getRefundUserName() {
                    return RefundUserName;
                }

                public void setRefundUserName(String RefundUserName) {
                    this.RefundUserName = RefundUserName;
                }
            }
            @Override
            public String toString() {
                return "ListBean{" +
                        "createtime='" + createtime + '\'' +
                        ", date='" + date + '\'' +
                        ", orderid='" + orderid + '\'' +
                        ", ordermoney='" + ordermoney + '\'' +
                        ", outorderid='" + outorderid + '\'' +
                        ", paystate='" + paystate + '\'' +
                        ", paytime='" + paytime + '\'' +
                        ", paytype='" + paytype + '\'' +
                        ", realpay='" + realpay + '\'' +
                        ", refund='" + refund + '\'' +
                        ", refundtime='" + refundtime + '\'' +
                        ", selleryouhui='" + selleryouhui + '\'' +
                        ", shopname='" + shopname + '\'' +
                        ", siteusername='" + siteusername + '\'' +
                        ", useraccount='" + useraccount + '\'' +
                        ", youhui='" + youhui + '\'' +
                        '}';
            }
        }
    }
}
